<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交圈相册推荐</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f8f9fa;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部 */
        .page-header {
            padding: 2.5rem 0;
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .page-title {
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 0.75rem;
        }
        
        .page-description {
            color: #636e72;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* 分类标题 */
        .section-title {
            font-weight: 600;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #007bff;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #2d3436;
        }
        
        .section-title i {
            color: #007bff;
        }
        
        /* 视图切换 */
        .view-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .view-options {
            display: flex;
            gap: 0.5rem;
        }
        
        .view-btn {
            background-color: white;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            color: #6c757d;
            transition: all 0.2s;
        }
        
        .view-btn.active {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }
        
        .filter-select {
            max-width: 200px;
        }
        
        /* 相册卡片基础样式 */
        .album-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
            height: 100%;
        }
        
        .album-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        /* 相册图片容器 */
        .album-media {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        /* 图片网格布局 */
        .media-grid {
            display: grid;
            width: 100%;
            height: 220px;
            gap: 3px;
        }
        
        /* 不同数量图片的布局 */
        .one-photo {
            grid-template-columns: 1fr;
        }
        
        .two-photos {
            grid-template-columns: 1fr 1fr;
        }
        
        .three-photos {
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .three-photos img:first-child {
            grid-column: 1;
            grid-row: 1 / 3;
        }
        
        .four-photos {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .five-photos {
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: 1fr 1fr;
        }
        
        .five-photos img:first-child {
            grid-column: 1 / 3;
            grid-row: 1 / 3;
        }
        
        .six-photos {
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: 1fr 1fr;
        }
        
        /* 相册图片样式 */
        .album-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .album-card:hover .album-media img {
            transform: scale(1.05);
        }
        
        /* 照片数量指示 */
        .photo-count {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        /* 相册信息 */
        .album-info {
            padding: 1.25rem;
        }
        
        .album-title {
            font-weight: 600;
            font-size: 1.15rem;
            color: #2d3436;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .album-description {
            color: #636e72;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.5;
        }
        
        /* 创建者信息 */
        .album-creator {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .creator-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #f1f1f1;
        }
        
        .creator-info {
            flex: 1;
        }
        
        .creator-name {
            font-weight: 500;
            color: #2d3436;
            margin-bottom: 0;
            font-size: 0.95rem;
        }
        
        .creation-date {
            font-size: 0.8rem;
            color: #b2bec3;
        }
        
        /* 相册统计信息 */
        .album-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #636e72;
            padding-top: 0.75rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        /* 互动按钮 */
        .album-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: #636e72;
            cursor: pointer;
            transition: all 0.2s;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
        }
        
        .action-btn:hover {
            background-color: #f1f1f1;
            color: #007bff;
        }
        
        .action-btn.liked {
            color: #e74c3c;
        }
        
        /* 特色相册样式 */
        .featured-album {
            display: flex;
            flex-direction: row;
        }
        
        .featured-album .album-media {
            width: 50%;
        }
        
        .featured-album .media-grid {
            height: 100%;
            min-height: 350px;
        }
        
        .featured-album .album-info {
            width: 50%;
            padding: 1.75rem;
        }
        
        .featured-album .album-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .featured-album .album-description {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            -webkit-line-clamp: 3;
        }
        
        .featured-album .album-actions {
            margin-top: 1rem;
        }
        
        .featured-album .action-btn {
            font-size: 1rem;
            padding: 0.5rem 1rem;
        }
        
        /* 列表视图样式 */
        .list-view .album-card {
            display: flex;
            flex-direction: row;
            height: auto;
        }
        
        .list-view .album-media {
            width: 30%;
        }
        
        .list-view .media-grid {
            height: 100%;
            min-height: 180px;
        }
        
        .list-view .album-info {
            width: 70%;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .featured-album {
                flex-direction: column;
            }
            
            .featured-album .album-media,
            .featured-album .album-info {
                width: 100%;
            }
            
            .featured-album .media-grid {
                min-height: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .list-view .album-card {
                flex-direction: column;
            }
            
            .list-view .album-media,
            .list-view .album-info {
                width: 100%;
            }
            
            .view-controls {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .filter-select {
                width: 100%;
                max-width: none;
            }
        }
        
        @media (max-width: 576px) {
            .page-title {
                font-size: 1.75rem;
            }
            
            .media-grid {
                height: 180px;
            }
            
            .featured-album .media-grid {
                min-height: 200px;
            }
            
            .album-stats {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            
            .album-actions {
                margin-top: 0.5rem;
                width: 100%;
            }
        }
        
        /* 动画效果 */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">精选相册推荐</h1>
            <p class="page-description">发现社区中最受欢迎的相册，浏览精彩瞬间，分享生活点滴</p>
        </div>
        
        <!-- 精选相册 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-star"></i> 本周精选
            </h2>
            
            <div class="album-card featured-album fade-in">
                <div class="album-media">
                    <div class="media-grid five-photos">
                        <img src="https://picsum.photos/800/800?random=1" alt="旅行相册照片1">
                        <img src="https://picsum.photos/400/400?random=2" alt="旅行相册照片2">
                        <img src="https://picsum.photos/400/400?random=3" alt="旅行相册照片3">
                        <img src="https://picsum.photos/400/400?random=4" alt="旅行相册照片4">
                        <img src="https://picsum.photos/400/400?random=5" alt="旅行相册照片5">
                    </div>
                    <div class="photo-count">
                        <i class="fas fa-images"></i> 24张照片
                    </div>
                </div>
                
                <div class="album-info">
                    <h3 class="album-title">冰岛极光之旅 - 追逐北极光的7天6夜</h3>
                    
                    <p class="album-description">
                        记录了在冰岛追逐北极光的难忘旅程，包括雷克雅未克城市风光、黄金圈经典景点、南部黑沙滩、冰川徒步和极光下的温泉。每一张照片都讲述着冰岛独特的自然景观和神秘魅力，从白天的壮丽冰川到夜晚舞动的极光，带你领略这个冰与火之国的极致美景。
                    </p>
                    
                    <div class="album-creator">
                        <img src="https://picsum.photos/200/200?random=101" alt="相册创建者头像" class="creator-avatar">
                        <div class="creator-info">
                            <p class="creator-name">旅行者小明</p>
                            <div class="creation-date">发布于 3天前</div>
                        </div>
                    </div>
                    
                    <div class="album-stats">
                        <div class="stat-item">
                            <i class="far fa-eye"></i>
                            <span>12.5k 浏览</span>
                        </div>
                        <div class="stat-item">
                            <i class="far fa-heart"></i>
                            <span>2.3k 喜欢</span>
                        </div>
                        <div class="stat-item">
                            <i class="far fa-comment"></i>
                            <span>342 评论</span>
                        </div>
                        <div class="album-actions">
                            <button class="action-btn">
                                <i class="far fa-heart"></i> 喜欢
                            </button>
                            <button class="action-btn">
                                <i class="far fa-bookmark"></i> 收藏
                            </button>
                            <button class="action-btn">
                                <i class="fas fa-share-alt"></i> 分享
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 热门相册 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-fire"></i> 热门相册
            </h2>
            
            <div class="view-controls">
                <div class="view-options">
                    <button class="view-btn active" data-view="grid">
                        <i class="fas fa-th"></i> 网格
                    </button>
                    <button class="view-btn" data-view="list">
                        <i class="fas fa-list"></i> 列表
                    </button>
                </div>
                
                <select class="form-select filter-select">
                    <option value="popular">按热度排序</option>
                    <option value="latest">最新发布</option>
                    <option value="most-liked">最多喜欢</option>
                    <option value="most-commented">最多评论</option>
                </select>
            </div>
            
            <div class="row" id="album-container">
                <!-- 1张照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid one-photo">
                                <img src="https://picsum.photos/600/600?random=10" alt="日落照片">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 1张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">海边日落 - 捕捉完美瞬间</h3>
                            
                            <p class="album-description">
                                今天在海边拍摄的绝美日落，天空被染成了橙红色，海浪轻轻拍打着沙滩。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=102" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">摄影爱好者</p>
                                    <div class="creation-date">发布于 昨天</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>8.2k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>1.5k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>128</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 2张照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid two-photos">
                                <img src="https://picsum.photos/600/600?random=20" alt="猫咪照片1">
                                <img src="https://picsum.photos/600/600?random=21" alt="猫咪照片2">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 2张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">我家猫咪的慵懒午后</h3>
                            
                            <p class="album-description">
                                记录我家主子享受阳光的悠闲时光，一只在睡觉，一只在看窗外。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=103" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">猫奴一枚</p>
                                    <div class="creation-date">发布于 2天前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>6.7k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>2.1k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>187</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 3张照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid three-photos">
                                <img src="https://picsum.photos/600/600?random=30" alt="美食照片1">
                                <img src="https://picsum.photos/600/600?random=31" alt="美食照片2">
                                <img src="https://picsum.photos/600/600?random=32" alt="美食照片3">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 3张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">周末自制 brunch 套餐</h3>
                            
                            <p class="album-description">
                                周末给自己做的丰盛早午餐，有煎蛋、牛油果吐司和鲜榨果汁，营养又美味。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=104" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">美食爱好者</p>
                                    <div class="creation-date">发布于 3天前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>5.3k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>986</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>76</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 4张照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid four-photos">
                                <img src="https://picsum.photos/600/600?random=40" alt="城市照片1">
                                <img src="https://picsum.photos/600/600?random=41" alt="城市照片2">
                                <img src="https://picsum.photos/600/600?random=42" alt="城市照片3">
                                <img src="https://picsum.photos/600/600?random=43" alt="城市照片4">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 4张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">城市夜景随拍</h3>
                            
                            <p class="album-description">
                                夜晚漫步城市街头，随手拍下的城市灯光和建筑，展现不一样的城市魅力。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=105" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">城市漫游者</p>
                                    <div class="creation-date">发布于 4天前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>7.1k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>1.3k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>94</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 5张照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid five-photos">
                                <img src="https://picsum.photos/600/600?random=50" alt="音乐会照片1">
                                <img src="https://picsum.photos/600/600?random=51" alt="音乐会照片2">
                                <img src="https://picsum.photos/600/600?random=52" alt="音乐会照片3">
                                <img src="https://picsum.photos/600/600?random=53" alt="音乐会照片4">
                                <img src="https://picsum.photos/600/600?random=54" alt="音乐会照片5">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 5张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">摇滚音乐会现场记录</h3>
                            
                            <p class="album-description">
                                昨晚的摇滚音乐会太精彩了，现场气氛超棒，分享几张现场照片和大家一起感受。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=106" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">音乐发烧友</p>
                                    <div class="creation-date">发布于 5天前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>9.4k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>1.8k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>215</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 6张照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid six-photos">
                                <img src="https://picsum.photos/600/600?random=60" alt="婚礼照片1">
                                <img src="https://picsum.photos/600/600?random=61" alt="婚礼照片2">
                                <img src="https://picsum.photos/600/600?random=62" alt="婚礼照片3">
                                <img src="https://picsum.photos/600/600?random=63" alt="婚礼照片4">
                                <img src="https://picsum.photos/600/600?random=64" alt="婚礼照片5">
                                <img src="https://picsum.photos/600/600?random=65" alt="婚礼照片6">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 6张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">闺蜜的婚礼 - 幸福瞬间</h3>
                            
                            <p class="album-description">
                                最好的闺蜜结婚了，见证她最幸福的时刻，照片记录了婚礼上的温馨瞬间。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=107" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">幸福见证者</p>
                                    <div class="creation-date">发布于 1周前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>10.2k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>2.5k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>328</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 更多照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid four-photos">
                                <img src="https://picsum.photos/600/600?random=70" alt="展览照片1">
                                <img src="https://picsum.photos/600/600?random=71" alt="展览照片2">
                                <img src="https://picsum.photos/600/600?random=72" alt="展览照片3">
                                <img src="https://picsum.photos/600/600?random=73" alt="展览照片4">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 18张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">现代艺术展 - 视觉盛宴</h3>
                            
                            <p class="album-description">
                                周末去看的现代艺术展，各种创意作品让人耳目一新，分享一些精彩展品。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=108" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">艺术爱好者</p>
                                    <div class="creation-date">发布于 1周前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>6.8k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>1.2k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>156</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 更多照片的相册 -->
                <div class="col-lg-3 col-md-6 fade-in">
                    <div class="album-card">
                        <div class="album-media">
                            <div class="media-grid three-photos">
                                <img src="https://picsum.photos/600/600?random=80" alt="运动照片1">
                                <img src="https://picsum.photos/600/600?random=81" alt="运动照片2">
                                <img src="https://picsum.photos/600/600?random=82" alt="运动照片3">
                            </div>
                            <div class="photo-count">
                                <i class="fas fa-images"></i> 12张照片
                            </div>
                        </div>
                        
                        <div class="album-info">
                            <h3 class="album-title">马拉松比赛 - 挑战自我</h3>
                            
                            <p class="album-description">
                                人生第一次全程马拉松，虽然很累但很有成就感，记录下比赛中的精彩瞬间。
                            </p>
                            
                            <div class="album-creator">
                                <img src="https://picsum.photos/200/200?random=109" alt="相册创建者头像" class="creator-avatar">
                                <div class="creator-info">
                                    <p class="creator-name">跑步达人</p>
                                    <div class="creation-date">发布于 2周前</div>
                                </div>
                            </div>
                            
                            <div class="album-stats">
                                <div class="stat-item">
                                    <i class="far fa-eye"></i>
                                    <span>5.9k</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-heart"></i>
                                    <span>876</span>
                                </div>
                                <div class="stat-item">
                                    <i class="far fa-comment"></i>
                                    <span>63</span>
                                </div>
                                <div class="album-actions">
                                    <button class="action-btn">
                                        <i class="far fa-heart"></i>
                                    </button>
                                    <button class="action-btn">
                                        <i class="fas fa-share-alt"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 加载更多按钮 -->
            <div class="text-center mt-4">
                <button class="btn btn-outline-primary px-5 py-2">
                    <i class="fas fa-spinner fa-spin" style="display: none;"></i>
                    <span>加载更多相册</span>
                </button>
            </div>
        </section>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 视图切换功能
            const viewButtons = document.querySelectorAll('.view-btn');
            const albumContainer = document.getElementById('album-container');
            
            viewButtons.forEach(button => {
                button.addEventListener('click', function() {
                    // 更新按钮状态
                    viewButtons.forEach(btn => btn.classList.remove('active'));
                    this.classList.add('active');
                    
                    const viewType = this.getAttribute('data-view');
                    
                    if (viewType === 'list') {
                        albumContainer.classList.add('list-view');
                    } else {
                        albumContainer.classList.remove('list-view');
                    }
                });
            });
            
            // 滚动显示动画
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeInObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('visible');
                        fadeInObserver.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            fadeElements.forEach(element => {
                fadeInObserver.observe(element);
            });
            
            // 喜欢按钮交互
            const likeButtons = document.querySelectorAll('.action-btn .fa-heart');
            likeButtons.forEach(icon => {
                icon.parentElement.addEventListener('click', function(e) {
                    e.stopPropagation();
                    if (icon.classList.contains('far')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('liked');
                        
                        // 更新喜欢数量
                        const statItem = this.closest('.album-stats').querySelector('.stat-item:nth-child(2) span');
                        let count = parseInt(statItem.textContent);
                        statItem.textContent = (count + 1).toString() + (count + 1 > 999 ? 'k' : '');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('liked');
                        
                        // 更新喜欢数量
                        const statItem = this.closest('.album-stats').querySelector('.stat-item:nth-child(2) span');
                        let count = parseInt(statItem.textContent);
                        statItem.textContent = (count - 1).toString() + (count - 1 > 999 ? 'k' : '');
                    }
                });
            });
            
            // 加载更多按钮
            const loadMoreBtn = document.querySelector('.text-center .btn');
            loadMoreBtn.addEventListener('click', function() {
                const spinner = this.querySelector('.fa-spinner');
                const text = this.querySelector('span');
                
                // 显示加载状态
                spinner.style.display = 'inline-block';
                text.textContent = '加载中...';
                this.disabled = true;
                
                // 模拟加载延迟
                setTimeout(() => {
                    spinner.style.display = 'none';
                    text.textContent = '加载更多相册';
                    this.disabled = false;
                    
                    // 这里可以添加实际加载更多相册的逻辑
                    alert('已加载全部相册');
                }, 1500);
            });
            
            // 相册卡片点击事件 - 查看完整相册
            const albumCards = document.querySelectorAll('.album-card');
            albumCards.forEach(card => {
                card.addEventListener('click', function() {
                    const albumTitle = this.querySelector('.album-title').textContent;
                    alert(`查看相册: ${albumTitle}`);
                    // 实际应用中这里会跳转到相册详情页
                });
            });
        });
    </script>
</body>
</html>
    
